import request from "/@/utils/request"
import { editList } from '/@/api/train/tkglQuestionList';

export function fetchList(query?: Object) {
  return request({
    url: '/train/xxrwTranscript/page',
    method: 'get',
    params: query
  })
}

export function addObj(obj?: Object) {
  return request({
    url: '/train/xxrwTranscript',
    method: 'post',
    data: obj
  })
}

export function getObj(id?: string) {
  return request({
    url: '/train/xxrwTranscript/' + id,
    method: 'get'
  })
}

export function delObjs(ids?: Object) {
  return request({
    url: '/train/xxrwTranscript',
    method: 'delete',
    data: ids
  })
}

export function putObj(obj?: Object) {
  return request({
    url: '/train/xxrwTranscript',
    method: 'put',
    data: obj
  })
}
export function editListst(query?: Object) {
  return request({
    url: '/train/xxrwTranscript/getTranscriptListById',
    method: 'get',
    params: query
  })
}
export function gradenameList(query?: Object) {
  return request({
    url: '/train/xxrwTranscript/getNameList',
    method: 'get',
    params: query
  })
}
export function markexampapersList(query?: Object) {
  return request({
    url: '/train/xxrwManualData/getList',
    method: 'get',
    params: query
  })
}
export function submitList(obj?: Object) {
  return request({
    url: '/train/xxrwManualData/submitData',
    method: 'post',
    data: obj
  })
}
